package com.tang.log.model.res;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema
public class RequestStatistics implements Serializable {

    @Schema(description = "平均响应时间")
    private double responseTime;

    @Schema(description = "最近一小时请求次数")
    private Long recentHourNum;

    @Schema(description = "今天请求次数")
    private Long todayNum;

    @Schema(description = "今天错误次数")
    private Integer todayErrorNum;

    @Schema(description = "系统负荷")
    private Double systemLoad;

    @Schema(description = "每秒平均请求次数")
    private Long secondNum;
}
